//
//  JHNetWorkTools.h
//  OC中的网络封装
//
//  Created by apple on 16/5/25.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
typedef NS_ENUM(NSUInteger, HTTPMethods) {
    GET,
    POST,
};
@interface JHNetWorkTools : AFHTTPSessionManager
+(instancetype)sharedTools;
//封装get/ post的请求方法
- (void)requestMethod:(HTTPMethods)method urlString:(NSString *)urlString parameters:(id)parameters finished:(void(^)(id responseObject,NSError *error))finished;
@end
